package com.zjw.zy.ext

import com.zjw.zy.bean.WsMessage
import com.zjw.zy.utils.AppUtils


//发送者
fun WsMessage.isSender(): Boolean {
    return this.from == AppUtils.getSelfAccess()
}


//答复者
fun WsMessage.isRepair(): Boolean {
    return this.to == AppUtils.getSelfAccess()
}